* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;


}

header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;

    // border: firebrick solid 1px;
    .container {
        width: 1140px;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .logo {
            width: 100px;
            height: 40px;
            color: white;
            font-weight: bold;
            background-color: red;
            display: flex;
            justify-content: center;
            align-items: center;
            letter-spacing: 3px;
            border-radius: 3px;

        }

        .top-right {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 250px;
            height: 100%;

            // border: forestgreen solid 1px;
            li:nth-child(1) {
                width: 100px;
                height: 100%;
                display: flex;
                justify-content: space-evenly;
                align-items: center;

                // border: fuchsia solid 1px;
                svg:nth-child(1) {
                    width: 25px;
                    height: 25px;
                }

                svg:nth-child(2) {
                    width: 30px;
                    height: 30px;
                }
            }

            li:nth-child(2) {
                width: 100px;
                height: 40px;
                background-color: red;
                border-radius: 3px;
                color: white;
                display: flex;
                justify-content: center;
                align-items: center;
                font-weight: bold;
            }
        }
    }
}



.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(245, 248, 249);
    width: 100%;
    height: 800px;

    .container {
        width: 1140px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        .top {
            width: 100%;
            height: 150px;
            // border: saddlebrown solid 1px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            >div {
                display: flex;
                flex-direction: column;

                height: 45%;
                // border: darkblue solid 1px;
                justify-content: space-between;
                align-items: flex-start;

                >div {
                    font-size: 32px;
                    font-weight: 300;

                }

                >span {
                    color: rgb(162, 162, 162);
                    font-size: 16px;
                    font-weight: 300;

                }
            }

            >nav {
                box-sizing: content-box;
                width: 600px;
                height: 30%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                // border: darkblue solid 1px;

                >div {
                    padding: 3px 1px;

                    font-size: 16px;
                    color: rgb(83, 83, 83);
                    font-weight: bold;

                    &:hover {
                        cursor: pointer;
                        border-bottom: rgb(186, 182, 182) solid 2px;
                    }

                    >a {
                        color: rgb(83, 83, 83);

                        &:hover {
                            cursor: pointer;
                            
                            color: #333;
                        }
                    }
                }

                .toggled {
                    padding: 3px 1px;

                    font-weight: bold;
                    font-size: 16px;
                    border-bottom: rgb(186, 182, 182) solid 2px;
                    color: rgb(83, 83, 83);

                    >a {
                        color: rgb(0, 0, 0);

                    }

                }

            }
        }

        .bottom {
            width: 100%;
            height: 380px;
            // border: darkblue solid 1px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .focus {
                box-sizing: content-box;
                border: #fff solid 10px;
                border-radius: 10px;
                position: relative;
                width: 520px;
                height: 350px;
                overflow: hidden;

                img {
                    width: 520px;
                    height: 350px;
                }

                ul {
                    position: relative;
                    width: 600%;

                    li {
                        float: left;
                    }
                }
            }

            .arrow-l,
            .arrow-r {
                display: none;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 40px;
                height: 60px;
                background: rgba(0, 0, 0, .3);
                text-align: center;
                line-height: 60px;
                color: #fff;
                font-family: 'icomoon';
                font-size: 20px;
                z-index: 2;
            }

            .arrow-l {
                left: 5px;
            }

            .arrow-r {
                right: 5px;
            }

            .circle {
                position: absolute;
                bottom: 10px;
                left: 50%;
                transform: translateX(-50%);

                li {
                    float: left;
                    width: 14px;
                    height: 14px;
                    border: 2px solid rgba(255, 255, 255, 0.5);
                    margin: 0 3px;
                    // border-radius: 50%;
                    cursor: pointer;
                }
            }

            .current {
                background-color: #fff;
                height: 18px;
            }


            >article {
                width: 580px;
                height: 370px;
                background-color: #fff;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: flex-start;

                .article-top {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    height: 100px;
                    border-bottom: rgba(204, 204, 204, .9) solid 1px;

                    .little-container {
                        width: 530px;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        >div:nth-child(1) {
                            font-size: 20px;

                        }

                        >div:nth-child(2) {
                            font-size: 16px;
                            padding: 10px 20px;
                            border-radius: 3px;
                            border: rgba(174, 174, 174, 0.8) solid 1px;
                        }
                    }
                }

                .article-bottom {
                    width: 100%;
                    height: 250px;
                    display: flex;
                    justify-content: center;
                    align-items: center;


                    .bottom-container {
                        width: 530px;
                        height: 100%;
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        // border: darkcyan solid 1px;

                        >div:nth-child(1) {
                            height: 100%;
                            width: 340px;
                            // border: darkgoldenrod solid 1px;

                            >ul {
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                width: 100%;
                                height: 100%;
                                >li{
                                    height: 100%;
                                    display: flex;
                                    flex-direction: column;
                                    justify-content: space-around;
                                    span{
                                        font-size: 20px;
                                        font-weight: bold;

                                    }
                                }
                            }
                        }
                        >div:nth-child(2){
                            display: flex;
                            flex-direction: column;
                            justify-content: space-around;
                            align-items: flex-end;
                            height: 100%;
                            // border: cadetblue solid 1px;
                            margin-top: 10px;
                            span{
                                font-size: 20px;
                                font-weight: bold;
                            }
                            >div:nth-child(2),
                            >div:nth-child(3){
                               display: inline-block;
                                padding: 10px 20px;
                                background-color: rgb(62, 180, 180);
                                font-weight: bold;
                                color: #fff;
                                border-radius: 5px;
                            }
                        }
                    }


                }
            }

        }
    }
}


footer{
    width: 100%;
    height: 350px;
    background-color: rgb(32,33,36);
    display: flex;
    justify-content: center;
    .container{
        width: 1140px;
        height: 100%;
        display: flex;
        align-items: center;
        // border: sandybrown solid 1px;
        >ul{
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            width: 80%;
            height: 60%;
            li{
                height: 70%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: flex-start;
                text-transform: uppercase;
                color: #fff;
                >div{
                    height: 50px;
                    padding-bottom: 3px;
                    &:hover{
                        cursor: pointer;
                        text-decoration: underline;
                        color: #fff;
                    }
                }
                &:nth-child(1){
                    .logo {
                        width: 100px;
                        height: 40px;
                        color: white;
                        font-weight: bold;
                        background-color: red;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        letter-spacing: 3px;
                        border-radius: 3px;
            
                    }
                }
               
            }


        }
    }
}